<?php if(!defined('HDPHP_PATH'))exit;C('SHOW_NOTICE',FALSE);?>
<!DOCTYPE html http://hd.com/code/shopping/Static/Index/ "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>凡客VANCL，互联网快时尚品牌，服装，鞋，配饰，箱包，化妆品，网上购物，货到付款，30天无条件退换货</title>
		<link rel="stylesheet" type="text/css" href="http://hd.com/code/shopping/Static/Index/css/common.css"/>
		<link rel="stylesheet" href="http://hd.com/code/shopping/Static/Index/css/fk.css" />
		<script type="text/javascript" src="http://hd.com/code/shopping/Static/js/jquery-1.8.2.min.js"></script>
		<script type="text/javascript" src="http://hd.com/code/shopping/Static/Index/js/index.js"></script>

	</head>

	<body>
	    <!--公用头部-->
	    <?php if(!defined('HDPHP_PATH'))exit;C('SHOW_NOTICE',FALSE);?>
<!-- 共用头部开始 -->
        <div id="head">
            <div class="header">
                <div class="headerArea">
                    <!-- 顶部左侧 -->
                    <ul class="headerTopLeft">
                        <!--如果用户已经登录就显示-->
                            <?php if($hd['session']['uname']!==NULL){ ?>
                            <li>您好,
                                <a href="" class="name">
                                    <?php echo $hd['session']['uname'];?>
                                </a>
                            </li>
                            <li class="myVancl1"><a href="<?php echo U('Login/out');?>">退出登陆</a><span class="shu">|</span><a href="<?php echo U('Index/Login/index');?>">更换用户</a></li>
                            <?php }else{ ?>
                            <li>您好,欢迎光临凡客诚品！</li>
                            <!--默认跳转到index.phpc=Login执行login控制器，a=index执行index方法    注册：默认跳转index.phpc=Register执行Register控制器，a=index,默认执行index方法-->
                            <li class="myVancl"><a href="<?php echo U('Login/index');?>">登陆</a><span class="shu">|</span><a href="<?php echo U('Register/index');?>">注册</a></li>
                        <?php } ?>
                        <li class="myVancl"><a href="">我的订单</a></li>
                        <li class="myVancl"><a href="">收藏本站</a></li>
                    </ul>
                    <!-- 顶部右侧 -->
                    <div class="headerTopRight">
                        <div class="headerTopRight_fanke" id="b">
                            <a href="" class="a_hover">我的凡客</a>
                            <span class="triangle"></span>
                            <ul class="my_fk" id="n">
                                <a href="<?php echo U('Center/index');?>" class="a_hover">我的凡客</a><span class="triangle"></span>
                                <li>
                                    <a href="<?php echo U('Center/index');?>" class="a_d">我的订单</a></li>
                                <li>
                                    <a href="<?php echo U('MyAddress/index');?>" class="a_d1">收货地址</a></li>
                                <li>
                                    <a href="<?php echo U('MyInfo/index');?>" class="a_d2">个人资料</a></li>
                            </ul>
                        </div>
                    <!-- headerTopRight -->

                </div>
            </div>
            <!-- 顶部左侧logo -->
            <div id="logoArea">
                <div class="VanclLogo">
                    <a href="<?php echo U('Index/Index');?>" class="track"></a>
                </div>
                <!-- 顶部右侧搜索条 -->
                <div class="VanclSearch">
                    <div class="SearchTab">
                        <!-- 搜索框开始 -->
                        <div class="Search">
                            <form action="<?php echo U('Common/');?>" method="post">
                                <input type="text" class="SearchText" placeholder="搜“卡其裤”，体验与众不同" />
                                <input type="submit" class="Searchbtn" value="搜索" />
                            </form>

                        </div>
                        <!-- 搜索框结束 -->
                        <!-- 购物车 -->
                        <div class="shoppingcar" id="shoppingcar">
                            <a class="shopping">&nbsp;&nbsp;&nbsp;购物车(0)</a>
                            <span class="shopping_h" id="shopping_h">您的购物车没有任何商品</span>
                        </div>
                        <!-- 购物车结束 -->
                    </div>

                    <div class="HotSearch">
                        <p>
                            热门搜索：
                            <?php foreach ($hotSearch as $k=>$v){?>
                                <a href="<?php echo U('List/index',array('cid'=>$v['cid']));?>"><?php echo $v['name'];?></a>
                            <?php }?>
                        </p>
                    </div>
                </div>
                <!-- 顶部右侧搜索条结束 -->
            </div>
            <!-- 顶部logo结束 -->
            
            <!-- 全部商品分类 -->
            <div id="mainBox">
                <div class="allProduct">
                    <a href="javascript:;" class="fl">全部商品分类</a>
                </div>
                <!-- 右侧导航开始 -->
                <ul class="category">
                    <?php foreach ($cataData as $k=>$v){?>
                        <li class="item itempic"><a href="<?php echo U('List/index',array('cid'=>$v['cid']));?>" class="track"><?php echo $v['name'];?></a>
                            <!--隐藏分类商品开始-->
                            <div class="con">
                                <?php foreach ($v['son'] as $kk=>$vv){?>
                                    <div class="pic_content">
                                        <div class="pic">
                                            <a href="<?php echo U('Index/Content/index',array('gid'=>$vv['gid'],'type_tid'=>$vv['type_tid']));?>">
                                                <img src="http://hd.com/code/shopping/<?php echo $vv['pic'];?>" alt="" />
                                            </a>
                                        </div>
                                        <div class="content">
                                            <h3><a href="<?php echo U('Index/Content/index',array('gid'=>$vv['gid'],'type_tid'=>$vv['type_tid']));?>"><?php echo $vv['gname'];?></a></h3>
                                            <span>￥<?php echo $vv['shop_price'];?></span>
                                        </div>
                                    </div>
                                <?php }?>
                            </div>              
                            <!--隐藏分类商品结束-->        
                        </li>
                    <?php }?>
                </ul>
                <!-- 右侧导航结束 -->
            </div>
            <!-- 全部商品分类结束 -->
        </div>
        <!-- 共用头部结束 -->
	    <!--公用头部结束-->
		<!-- 中间内容区域开始 -->
		<div id="content">
		    <span class="blank10"></span>
			<!-- 左侧列表区域 -->
			<div class="category">
				<!-- 男装 -->
				<!--循环顶级分类-->
				<?php foreach ($showData as $k=>$v){?>
					<dl class="nz">
						<p><a href="./index.php?c=List" class="track"><?php echo $v['name'];?></a></p>
						    <!--如果没有三级分类用这种现实方法-->
							    <?php if($v['cid']==23){ ?>
			                    <dd class="nz2" style="margin-top:10px;">
			                        <!--循环并增加样式-->
									<?php foreach ($v[son] as $sk=>$s){?>
									<a href="<?php echo U('List/index',array('cid'=>$s['cid']));?>" class="bs"     <?php if($sk==0){ ?>style="color:#B81C22;background=#ffffff;"<?php } ?> ><?php echo $s['name'];?></a>
									<?php }?>
								<dd>
							<!--如果有三级分类用这种现实方法-->	    
		                    <?php }else{ ?>
		                    <!--循环二级分类-->
		                    <?php foreach ($v[son] as $sk=>$s){?>
	                    		<dt class="nz1">
									<a href="<?php echo U('List/index',array('cid'=>$s['cid']));?>"><?php echo $s['name'];?></a>
							   	</dt>
								<dd class="nz2">
								    <!--循环三级分类-->
									<?php foreach ($s['son'] as $ssk=>$ss){?>
									<a href="<?php echo U('List/index',array('cid'=>$ss['cid']));?>" class="bs"     <?php if($ssk==0){ ?>style="color:#B81C22;background=#ffffff;"<?php } ?> ><?php echo $ss['name'];?></a>
									<?php }?>	
									<!--循环三级分类结束-->
								<dd>
							<?php }?>
							<!--循环二级分类结束-->
							<?php } ?>
					</dl>
				<?php }?>
				<!--循环顶级分类结束-->
			</div>
			<!--左侧列表结束-->

			<!-- 轮播+右侧 -->
			<div id="lb">
				<!-- 中间轮播图 -->
				<div class="vanclFocus">
					<a href="<?php echo U('List/index');?>"><img class="pic" src="http://hd.com/code/shopping/Static/Index/images/sj1.jpg" style="display:block" /></a>
					<a href="<?php echo U('List/index');?>"><img class="pic" src="http://hd.com/code/shopping/Static/Index/images/sj2.jpg" /></a>
					<a href="<?php echo U('List/index');?>"><img class="pic" src="http://hd.com/code/shopping/Static/Index/images/sj3.jpg" /></a>
					<a href="<?php echo U('List/index');?>"><img class="pic" src="http://hd.com/code/shopping/Static/Index/images/sj4.jpg" /></a>
					<a href="<?php echo U('List/index');?>"><img class="pic" src="http://hd.com/code/shopping/Static/Index/images/sj5.jpg" /></a>
					<a href="<?php echo U('List/index');?>"><img class="pic" src="http://hd.com/code/shopping/Static/Index/images/sj6.jpg" /></a>
					<a href="<?php echo U('List/index');?>"><img class="pic" src="http://hd.com/code/shopping/Static/Index/images/sj7.jpg" /></a>
					<ul>
						<li class="lb" style="background:#A10000"></li>
						<li class="lb"></li>
						<li class="lb"></li>
						<li class="lb"></li>
						<li class="lb"></li>
						<li class="lb"></li>
						<li class="lb"></li>
					</ul>
				</div>
				<div class="txy">
				    <?php foreach ($rightData as $k=>$v){?>
					   <a href="<?php echo U('Comment/index',array('gid'=>$v['gid']));?>"><img src="http://hd.com/code/shopping/<?php echo $v['pic'];?>"     <?php if($k==0){ ?>style="border-bottom:1px solid #C9C9C9;"<?php } ?>/></a>
					<?php }?>
				</div>

				<!-- 右侧图片 -->
			</div>
			<!-- 轮播+右侧结束 -->
			<!-- 二级菜单区域结束 -->
		</div>
		<!-- 中间内容区域结束 -->

		<!-- 新品上架 -->
		<div id="hotShopping">
			<p class="xp">新品上架</p>
			<!-- 新品上架内容 -->
			<div class="shopContent">
				<ul>
				    <?php foreach ($newData as $k=>$v){?>
    					<li>
    						<a href="<?php echo U('Comment/index',array('gid'=>$v['gid']));?>"><img src="http://hd.com/code/shopping/<?php echo $v['pic'];?>" /></a>
    						<p class="money">
    						    <a href="<?php echo U('Comment/index',array('gid'=>$v['gid']));?>" class="center"><?php echo $v['gname'];?></a>
    						    <br/>
    						    <span>售价：￥<?php echo $v['shop_price'];?></span>
    						</p>
    					</li>
					<?php }?>
				</ul>
			</div>
			<!-- 新品上架，内容结束 -->
		</div>
		<!-- 新品上架结束 -->

		<!-- 热销商品标题 -->
		<div id="shopTitle">
			<div class="t">
				<p>热销商品</p>
			</div>
		</div>
		<!-- 热销商品标题结束 -->

		<!-- 热销商品内容 -->
		<div id="hotSell">
			<div class="img1">
				<a href="<?php echo U('List/index');?>"><img src="http://hd.com/code/shopping/Static/Index/images/rx1.jpg" class="border" /></a>
				<a href="<?php echo U('List/index');?>"><img src="http://hd.com/code/shopping/Static/Index/images/rx2.jpg" class="border1" /></a>
			</div>
			<!-- 第二组图 -->
			<div class="img2">
				<a href="<?php echo U('List/index');?>"><img src="http://hd.com/code/shopping/Static/Index/images/rx3.jpg" class="border2" /></a>
				<a href="<?php echo U('List/index');?>"><img src="http://hd.com/code/shopping/Static/Index/images/rx4.jpg" class="border3" /></a>
				<a href="<?php echo U('List/index');?>"><img src="http://hd.com/code/shopping/Static/Index/images/rx5.jpg" class="border4" /></a>
			</div>
		</div>
		<!-- 热销商品内容结束 -->

		<!-- 底部开始 -->
        <?php if(!defined('HDPHP_PATH'))exit;C('SHOW_NOTICE',FALSE);?>
<!-- 底部开始 -->
<div id="bottom">
	<div class="b">
		<div class="bottomArea">
			<dl>
				<dt>关于凡客</dt>
				<dd><a href="">公司简介</a></dd>
				<dd><a href="">联系我们</a></dd>
				<dd><a href="">友情链接</a></dd>
			</dl>
			<dl>
				<dt>新手指南</dt>
				<dd><a href="">账户注册</a></dd>
				<dd><a href="">购物流程</a></dd>
				<dd><a href="">网站地图</a></dd>
				<dd><a href="">商家入驻</a></dd>
			</dl>
			<dl>
				<dt>配送范围及时间</dt>
				<dd><a href="">国内配送</a></dd>
				<dd><a href="">订单拆分</a></dd>
			</dl>
			<dl>
				<dt>支付方式</dt>
				<dd><a href="">货到付款</a></dd>
				<dd><a href="">在线支付</a></dd>
				<dd><a href="">礼品卡及账户余额</a></dd>
				<dd><a href="">其他支付方式</a></dd>
			</dl>
			<dl>
				<dt>退换货</dt>
				<dd><a href="">退换货办理流程</a></dd>
				<dd><a href="">退换货网上办理</a></dd>
				<dd><a href="">退款说明</a></dd>
				<dd><a href="">调查问卷</a></dd>
			</dl>
			<dl style="border-right:none;">
				<dt>帮助中心</dt>
				<dd><a href="">在线客服</a></dd>
				<dd><a href="">找回密码</a></dd>
				<dd><a href="">隐私声明</a></dd>
			</dl>
		</div>
		<!-- 退换货 -->
		<ul class="Return">
			<li>
				<a href="" class="returnProduct1"></a>
			</li>
			<li>
				<a href="" class="returnProduct2"></a>
			</li>
			<li>
				<a href="" class="returnProduct3"></a>
			</li>
			<li>
				<a href="" class="returnProduct4"></a>
			</li>
		</ul>
		<!-- 退换货结束 -->
	</div>
</div>
<!-- 许可证 -->
<div id="licence">
	<p>Copyright 2007 - 2014 vancl.com All Rights Reserved 京ICP证100557号 京公网安备11011502002400号 出版物经营许可证新出发京批字第直110138号</p>
	<div class="icon">
		<a href=""><img src="" alt="" class="pic1" /></a>
		<span class="pic2"></span>
		<a href=""><img src="" alt="" class="pic3" /></a>
		<a href=""><img src="" alt="" class="pic4" /></a>
		<a href=""><img src="" alt="" class="pic5" /></a>
	</div>
</div>

<!-- 许可证结束 -->
<!-- 图标 -->

<!-- 底部结束 -->
</body>

</html>
        <!-- 底部结束 -->
</body>

</html>